Skip to content

Test Result : ValueField validation: initialValue, touched, empty and mandatory

0 failures
5 tests
Took 30 ms.

All Tests

Test nameDurationStatus
ValueField validation: initialValue, touched, empty and mandatory sets empty to true when value is an empty string (for StringField)5 msPassed
ValueField validation: initialValue, touched, empty and mandatory sets initialValue when markAsSaved is called6 msPassed
ValueField validation: initialValue, touched, empty and mandatory sets touched to true when value is different from initial value6 msPassed
ValueField validation: initialValue, touched, empty and mandatory validate returns not valid when errorStatus is set or field is mandatory and empty8 msPassed
ValueField validation: initialValue, touched, empty and mandatory validate returns valid when errorStatus is not set and field is not mandatory5 msPassed